﻿using Shop.Model.Category;
using Shop.Model.DB;

namespace Shop.Repository
{
    public interface ICategoryRepository : IShopBaseRepository<DBCategory, long>
    {
        void Add (DBCategory add);
        void Enable (long[] ids);
        void Move (long id, CategoryMoveArg arg, SubCategorySet[] sets);
        void SetSort (Dictionary<long, int> sorts);
        void Stop (long[] ids);
        Result[] Gets<Result> (GoodsCategoryGet param) where Result : class, new();
    }
}